package com.library.model.dto.register;

import java.io.Serializable;

public class RegisterDTO implements Serializable {
	
	/*
	 * CREATE TABLE MEMBERS (
		member_id  VARCHAR2(30)  PRIMARY KEY,
		password  VARCHAR2(30)  NOT NULL,
		name  VARCHAR2(100)  NOT NULL,
		jumin varchar2(30) not null,
		phone  VARCHAR2(50) NOT NULL,
		email VARCHAR2(40) NOT NULL,
		zipcode VARCHAR2(300) NOT NULL,
		address VARCHAR2(100) NOT NULL,
		detailaddress varchar2(100) NOT NULL,
		auth NUMBER NOT NULL
	);
	 */
	
	private String member_id;
	private String password;
	private String name;
	private String jumin;
	private String phone;
	private String email;
	private String zipcode;
	private String address;
	private String detailaddress;
	private int auth;
	
	public RegisterDTO() {
		
	}
	
	

	public RegisterDTO(String memberId, String password, String name,
			String jumin, String phone, String email, String zipcode,
			String address, String detailaddress) {
		member_id = memberId;
		this.password = password;
		this.name = name;
		this.jumin = jumin;
		this.phone = phone;
		this.email = email;
		this.zipcode = zipcode;
		this.address = address;
		this.detailaddress = detailaddress;
	}



	public RegisterDTO(String memberId, String password, String name,
			String jumin, String phone, String email, String zipcode,
			String address, String detailaddress, int auth) {
		member_id = memberId;
		this.password = password;
		this.name = name;
		this.jumin = jumin;
		this.phone = phone;
		this.email = email;
		this.zipcode = zipcode;
		this.address = address;
		this.detailaddress = detailaddress;
		this.auth = auth;
	}

	public String getMember_id() {
		return member_id;
	}

	public void setMember_id(String memberId) {
		member_id = memberId;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getJumin() {
		return jumin;
	}

	public void setJumin(String jumin) {
		this.jumin = jumin;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getZipcode() {
		return zipcode;
	}

	public void setZipcode(String zipcode) {
		this.zipcode = zipcode;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getDetailaddress() {
		return detailaddress;
	}

	public void setDetailaddress(String detailaddress) {
		this.detailaddress = detailaddress;
	}

	public int getAuth() {
		return auth;
	}

	public void setAuth(int auth) {
		this.auth = auth;
	}

	@Override
	public String toString() {
		return "RegisterDTO [member_id=" + member_id + ", password=" + password
				+ ", name=" + name + ", jumin=" + jumin + ", phone=" + phone
				+ ", email=" + email + ", zipcode=" + zipcode + ", address="
				+ address + ", detailaddress=" + detailaddress + ", auth="
				+ auth + "]";
	}
	
	
	
	
	
	

}
